package com.basics.organization.service;

import com.basics.organization.entity.CyOrganizationGroup;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 组织分组 服务类
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
public interface CyOrganizationGroupService extends IService<CyOrganizationGroup> {

    /**
     * 根据分组ids查询分组名称
     * @param groupIds
     * @return
     */
    String getByGroupIds(String groupIds);

    /**
     * 根据组织id查询默认分组
     * @param organizationId
     * @return
     */
    CyOrganizationGroup getDefaultGroup(Long organizationId);
}
